package com.link.base.base.weibo.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.base.base.weibo.model.WeiboContent;
import com.link.base.base.weibo.service.WeiboContentService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;

/**
 * @author: 郭闪
 * @date: 2019-02-19
 * @comments:
 */
@Controller
@RequestMapping("/link/weiboContent")
public class WeiboContentController extends BasicController<WeiboContent> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private WeiboContentService weiboContentService;

    @Override
    public BasicService<WeiboContent> getBasicService() throws Exception {
        return weiboContentService;
    }
}
